package com.supermarket.user.mapper;

import com.supermarket.user.domain.IntegralRecord;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

@Mapper
public interface IntegralRecordMapper {
    void insert(IntegralRecord integralRecord);

    List<IntegralRecord> listByUserId(Long userId);
}
